﻿<UserControl
    x:Class="EString.PropertyGrid.Editors.FontEditor"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:EString.PropertyGrid.Editors"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300"
    d:DesignWidth="400">

    <Grid x:Name="LayoutRoot">
        <StackPanel Orientation="Horizontal" d:LayoutOverrides="Width">
            <StackPanel>
                <ComboBox x:ConnectionId='1' x:Name="cboFonts" d:LayoutOverrides="Height" MinWidth="160"                                             >
                    <ComboBoxItem Content="Arial"/>
                    <ComboBoxItem Content="Arial Black"/>
                    <ComboBoxItem Content="Comic Sans MS"/>
                    <ComboBoxItem Content="Courier New"/>
                    <ComboBoxItem Content="Georgia"/>
                    <ComboBoxItem Content="Lucida Sans Unicode"/>
                    <ComboBoxItem Content="Portable User Interface"/>
                    <ComboBoxItem Content="Times New Roman"/>
                    <ComboBoxItem Content="Trebuchet MS"/>
                    <ComboBoxItem Content="Verdana"/>
                    <ComboBoxItem Content="Webdings"/>
                </ComboBox>
                <TextBox x:ConnectionId='2' x:Name="txtFontName" TextWrapping="Wrap" Text="Enter font name..." Margin="0,3,0,0" MinWidth="158"                                       ToolTipService.ToolTip="To see non system fonts make sure you have them embedded."/>
            </StackPanel>
        </StackPanel>
    </Grid>
</UserControl>

